Ditto some more - whomever thought up those glue traps should be forced to undergo an adult-sized one. Not even a mouse deserves to die struggling and starving or go through that kind of torture.
The newer plastic snap traps do a great job, they're reusable, and even if your dog gets into them all they'll get is a little harmless nip.
And you won't have a mess all over your carpet.