Place it right after the dog's odd behaviour appears on screen, then follow it with a laugh for the punchline, or answer it with a short yeah reaction to keep the exchange going.