Fix popover close