make MessageBox behave the same way on Windows as on Linux