added destroy method do component interface that gets called when a component is removed from the controller