Add an initial test of msgdialogs.
Test more error codes and options of msgdialogs.
Merge pull request #131 from unknownbrackets/msgdialog

Add a test for message dialogs (using abort)