Add popover handler