For native win32 dialogs, pump main window loop a bit

Mostly gets rid of re-drawing issues, however is not great.