Set parent dialog type to Window in the file select method in
SwingUtils.