//create new Edit dialog and populate it with selected titlebasic object and display
 private void Edit_Button_Click(object sender, RoutedEventArgs e)
 {
     if (titleBasicID != null)
     {
         EditTitleBasicForm edit = new EditTitleBasicForm();
         edit.GetTitleBasicByID(titleBasicID);
         edit.Show();
     }
 }
        //create new blank Edit dialog and display
        private void btnAdd_Click(object sender, RoutedEventArgs e)
        {
            EditTitleBasicForm edit = new EditTitleBasicForm();

            edit.Show();
        }