Understanding your dog's triggers is the key to calming their behaviour