add dom remove event.