If anyone closed the bathroom door at my house, Max would march over and pound on it with his paw until he was allowed in. If it was a guest–he would sit there and pound on the door every minute or so until they came out.
Go Max..gggg… that is the way to do it!!!! What a smart boy he was!!!!