You did all you could. I wouldn’t feel comfortable having a strange dog coming into the house. They should have come to pick it up.
My fiancé stopped in the middle of 138 to let a dog jump into the car that was running lose. The dog was dull of fleas and ticks and was trying to nip at us. It was an awful situation and animal control basically told her not to do that again. We love animals and dogs, but sometimes you have to watch for your own safety