}// end of RemoveEntry
 //Handles opening of dialog text files
 private void OpenItem_Click(object sender, RoutedEventArgs e)
 {
     OpenFileDialog open = new OpenFileDialog();
     open.ShowDialog();
     DialogLoader.ReadDialogTextFiles(open.FileNames);
     PopulateFromMasterDialogLinesList();
 }//end of OpenItem_Click
        }//end of ctor

        /// <summary>
        /// Main routing initialize function
        /// </summary>
        void Initialize()
        {
            SelectedTMPs = new List<TargetMoodPairControl>();
            TMPCount = 0;
            SelectedResponses = new List<CheckBox>();
            ResponsesCount = 0;
            DialogLoader.Initialize();
            InitializeSpeakerOptions();
            InitializeResponsePanel();
        }//end of Initialize
        }//end of CreateDialogLineButton_Click

        /// <summary>
        /// Opens dialog text files
        /// </summary>
        private void OpenItem_Click(object sender, RoutedEventArgs e)
        {
            DialogLinesPanel.Children.Clear();
            ResponseLineIDsList.Items.Clear();
            OpenFileDialog open = new OpenFileDialog();
            open.ShowDialog();
            DialogLoader.LoadDialogLinesFromFile(open.FileName);
            foreach (var kvp in DialogLoader.MasterDialogLineList)
            {
                ListBoxItem item = new ListBoxItem() { Content = kvp.Key };
                item.Selected += (object subSender, RoutedEventArgs subE) => 
                {
                    PopulateForm(kvp.Key);
                };

                DialogLinesPanel.Children.Add(item);
                ResponseLineIDsList.Items.Add(new ComboBoxItem() { Content = kvp.Key });
                ResponsesCount++;
            }
        }//end of OpenItem_Click