Issue #523 folder dialogs use new validation logic

you could even simplify with ``String.IsNullOrEmpty`` or even ``String.IsNullOrWhitespace``