Abort on a message dialog just moves to finished.

Still need to shutdown.  Fixes #5177.
Set msgdialog result to 0 after displayed.

This might fix anything checking the result code without zeroing it first.
Merge pull request #5180 from unknownbrackets/msgdialog

Fix aborting msgdialogs