public void HandleLog(string logString, string stackTrace, LogType type)
    {
        if ((type == LogType.Exception) || (type == LogType.Assert))
        {
            string msg = "There was an error. Please don't modify anything below.\n\n";
            msg += "General Info:\n" + GeneralSupportInfo( ) + "\n\n";
            msg += "Log: " + logString + "\n\n";
            msg += "Stack: " + stackTrace;

            MessageDialogs.ShowConfirmationDialog("There was an error.",
                                                  "Do you wish to send an e-mail with the error data?",
                                                  "Yes", () => {
                Utils.OpenEMailClient(emailAddress, title, msg);
            },
                                                  "No", null);
        }
    }