Close layer shell window if its preferred output has been removed
The given preferred output can be already removed from the Workspace when the layer shell window is created. In which case, we should close the layer shell window.
The given preferred output can be already removed from the Workspace when the layer shell window is created. In which case, we should close the layer shell window.