change destroyClientControls to removeFromDom