private void ChangeModTagName(string oldModtagName, string newTagName)
        {
            XmlFileManager.RenameModDirectory(oldModtagName, newTagName);
            bool hasConfigTags = XmlFileManager.ReplaceTagsInModFiles(oldModtagName, newTagName);

            if (hasConfigTags)
            {
                string           message = "Your mod files uses a config tag as the top tag, would you like to change them in each file to the new mod name?";
                string           title   = "Change Top Tag in All Mod Files";
                MessageBoxResult result  = MessageBox.Show(message, title, MessageBoxButton.YesNo, MessageBoxImage.Question);
                switch (result)
                {
                case MessageBoxResult.Yes:
                    XmlFileManager.ReplaceTagsInModFiles(oldModtagName, newTagName, true);
                    break;
                }
            }
        }