athena, as others have pointed out, the owners should have had the dog on a leash. I'm glad you weren't hurt and that the dog apparently wasn't, either.

If this is something that will make you feel better -- if you are still feeling bad -- you might want to make a donation to an animal-related charity. (Maybe one that educates people on responsible dog ownership!) I know sometimes when I'm feeling bad about something I really couldn't help, doing something like making a small donation to something related, however tangentially, will make me feel better; I guess it's a way of making lemonade, of making something good come of whatever the bad situation is.