Make sure to destroy popover rather than just hide it