user32: DefDlgProc on WM_QUIT should repost it and terminate the dialog message loop.