When preparing to leave the house, many dogs like to do a final round of sniffing on the floors and in the corners. Anxiety is reflected in sniffing, which makes sense when you consider that the stress of having to urinate and being unable to do so at will can lead to panic attacks.