Handle events in Tooltip/Popover