Merge pull request #583 from eht16/win32_fix_native_dialogs