I think the dialog supports creating a directory in itself, but what you could do is to create the dialog with FileMode AnyFiles and hide non-directories with setOption(ShowDirsOnly).

Cheers,
_