Fixed bug in FileCooserDialog