I have a ten year old cockapoo. For the last 5 months or so he's been having accidents inside. There are times when he might have just been outside and soils inside or like last night, the back door was wide open and my husband was sitting outside but he still did a poo on the kitchen floor. Is he getting confused? Is it dementia? He does seem more anxious these days. Anything I can do to help? Thanks!