WaitPopup.getInstance().setVisibleById( false, spinnerId );
final FileChooserDialog dialog =
new FileChooserDialog( FileChooserMode.OPEN, lastPath, tree, false, true, solutionBrowserPerspective
.getSolutionTree().isShowHiddenFiles() );
dialog.setSubmitOnEnter( MantleApplication.submitOnEnter );
dialog.addFileChooserListener( new FileChooserListener() {
public void dialogCanceled() {
// retain current active perspective
PerspectiveManager.getInstance().setPerspective( activePerspective.getId() );
}