avoid closing the widgets in the explorer if is not undocked