remove event implemented for components
using the destroy() instead remove() function