avoid closing the widgets in the explorer if is not undocked
Merge pull request #1643 from diegosarmentero/master

avoid closing the widgets in the explorer if is not undocked