How kind of you and your daughter to look for the dogs owner. Not only did you do a kind thing for the dog but you also are teaching your daughter how to be kind. I feel not enough parents do this.
I always have tags on mine. When we got Reggie he got out of my fenced in yard 4 times. Both my husband and I were in the yard and in a blink of an eye he got out

We are running the streets looking for him when we see him in this Lady's arms. He jumped on her lap as she was sitting in her yard. She did say that she called my phone. Also if you have a male neutering them helps them to stay home. The shelter just had him done and it did take some time for the marking and running to stop. But thank god he is now happy to stay in his own backyard.