Improved CustomFileDialogEditor creating folders

Improved how the CustomFileDialogEditor handles creating new folders.