...yes, we could do this: having an actionListener to be called after the user having created/cancelled the directory.
Bevaviour would be:
Action Listner is called on server side, event of type BaseActionEventFileCreateDirectory cvontains information, if directory was created successfully or not.
The actionListener is called both when the user confirms AND when the directory already exists (I assume you need something like a trigger for the next step of your application).