Two summers ago, while our vacation in LA, California, I realized there are some dogs with an uncanny sense of getting themselves lost.
While folding our laundry in the garage, it was any other day- when a dog with short curly-white fur- promptly walked in the garage, seemingly out of nowhere. It was a female of mixed origin and she was quite friendly and didn't hesitate to be petted. It must've known we were dog-lovers.
She had no collar so we assumed that she'll eventually walk back to her owners in the neighborhood.
The next morning, I was shocked to see the dog sleeping on the old couch in the garage. We had no choice but to keep the dog and see if the owner might look for her.
We fed her, hoping that this time she will go back home so we left the garage door open for her. To no avail.
She enjoyed our company though, being very playful at our presence.
It's apparent she wanted to adopt us.
When we left LA, the dog was still at our relative's house. It's a good thing they have dogs of their own too.
MarikaSunSeeker

Seems this little dog knew when she was onto a good thing, staying with you and then your relatives!