What am I doing wrong?

I was running with my baby in a running stroller on a bike path this morning and asked a man with a medium sized dog to put his dog on a leash and he told me he wasn't taking feedback today. I was walking with my 3 kids in the afternoon and asked a woman with a large dog wandering all over the sidewalk if her dog was off leash (a couple times because she was ignoring me) and she gave me and the kids the middle finger. We crossed over and as we went by on the other side I explained that my kid is allergic to dogs. She told me that her dog is hypoallergenic and that in any case it's my kid's problem not her problem.

How am I supposed to handle these interactions better? Do I need to smile more? Be less bossy? Less passive aggressive? I don't like going right past off leash dogs with the kids. One kid gets hives and my other kid is scared and some dog owners assume that the kids want to meet their dogs. Also I have a bunch of experiences on runs of dogs chasing me, biting holes in my shirt, jumping up towards me etc so I don't love seeing unleashed dogs when I'm running at all. But anyway clearly Seattle dog owners don't want to hear all that. Is there anything I can say or any way I can be so that these interactions go better or so I just need to u-turn and not say anything if I don't want to deal with the dog? I get that I'm being pretty annoying but I'm not trying to be.