Close the popover window on dealloc of the popover.