This is quite funny and cute at the same time. Yawning is, in fact, socially contagious in humans. And now that they've discovered that dogs are able to do it too simply living closely with a human is interesting.
In my observation, the dogs who live closely with me often yawn a little after I do so. However, no matter how often I do it with my sister's dogs, they don't exactly respond to it.