remove the view if the model was removed