a dog tries to attack a man