See A Man About A Dog Meaning
Used as an excuse for leaving without giving the real reason (especially if the reason is to go to the toilet, or to have a drink)
Example: Please, wait for me here. I won't be long. I'm just going to see a man about a dog.