void IViewEvents.OnChangeFieldsMappingButtonClick()
        {
            List <string> allCaptures = new List <string>();

            allCaptures.AddRange(GetRegExCaptures("head-re"));
            allCaptures.AddRange(GetRegExCaptures("body-re"));
            using (var interaction = objectsFactory.CreateEditFieldsMapping())
            {
                interaction.ShowDialog(reGrammarRoot, allCaptures.ToArray());
                UpdateView();
            }
        }