remove component from parent components array on delete