added hackish close popover