My aunt's dog, Roxy does it whenever I go and visit her in MI.
I'm not for sure how to stop it, but...
I wonder if letting her out to go potty before you're expecting company -- maybe that would work?