Fixed folder creation in folder selection dialog