Simple answer - a covered cat litter box, with the opening too small for the dog's head to get into!