I always thought Margaret was passing by there and happened to meet columbo, without looking for him.
Agree about the strangeness of Margaret being able to find a gun and, like someone said, I also think they showed Leslie could focus on 2 things at once at the trial to make her look like a strong lawyer.