Place it right after a door knock or a suspicious pause in your edit, then follow with a door knocking sound for a cause-and-effect gag, or lead in with a ding before it to fake an alert that triggers the barking.