Place it at the end of a short setup, right after the mistake lands, then follow it with a fail sting to underline the joke and clapping when the dog gets away with it.