fix win32 dialog interface