use default windows file/folder selection dialogs

+ code cosmetics