Yes, with these modifications:
@nodeselect
@nofilenamequoting
CreateFolder NAME="{filepath}\{dlgstring}"
@nodeselect
FileType NEW=directory PATH={filepath} NEWNAME="{dlgstring}"
The second button will append a counter if the folder already exists.