U2 Element: Create onRemoveChild and call it to make remove() safe in all states
U2 Element: Create onRemoveChild and call it to make remove() safe in all states

foam-framework/foam,foam-framework/foam,foam-framework/foam,foam-framework/foam,foam-framework/foam