/// <summary>
        /// Deletes the message box with the specified name
        /// </summary>
        /// <param name="name">The name of the message box to delete</param>
        public static void DeleteMessageBox(string name)
        {
            if (name == null)
            {
                return;
            }

            if (_messageBoxes.Contains(name))
            {
                FAMessageBox msgBox = _messageBoxes[name] as FAMessageBox;
                msgBox.Dispose();
                _messageBoxes.Remove(name);
            }
        }