Trying to catch dog in window