Fixing popover a little so it is hidden when selection changes