Test more error codes and options of msgdialogs.