Close subviews in addition to detaching them