I think it will be a good idea to add a dialog that query if the user want to remove (or not) all the component that depends of the removed one( by the user)