a dog is territorial