Fix new file dialog.