fixed FileChooser popup hack