Minnie had a similar scam when I gave her treats for potty trips. She'd go bark at the back door to get let out, I'd let her in back, 20 seconds later she'd bark to come in and then sit pretty in front of the dining room table and wait for a snack. So when I potty trained Cookie I made sure to never offer anything but lots of praise for successful potty trips.