fix event breaking for popover