fix tree view new file dialog