Fire events only after the element is removed