make sure that Popover closure is executed