J.W.
She just needs to be taught what is expected of her. She also shouldn't be on a leash that she can "run ahead" if you are jogging or even walking fast. Too dangerous for both of you.
My dogs both did the sniff dance but they knew if I am moving they are moving. When I stopped and released them they knew they could sniff and stuff. By release I mean released from the heel command. Not off their leash. Passing dogs was a non event.