Haha, my dog does that. He really freaks out if you go into the bathroom. Of course, I've never claimed he was particularly smart.