Here’s the correct way to get close to a nervous dog.