Modal app dialogs are now actually modal on Windows.  Added timer event
to run the Qt event loop.