a dog can sense the danger