Popover: cleanup only after the element is removed
Trigger events only after the element is removed