private void AddActionToPartyMember(Object sender, RoutedEventArgs e)
        {
            var action = new BattleAction(String.Empty);
            var addActionWindow = new EditAction(action);
            addActionWindow.Owner = this;
            addActionWindow.ShowDialog();

            if (action.IsValid())
                partyViewModel.AddActionToPartyMember(action);

            fileAccessor.SaveParty(partyViewModel.Party);
        }
        private void Save(Object sender, RoutedEventArgs e)
        {
            var action = new BattleAction(String.Empty);
            var newActionWindow = new EditAction(action);

            newActionWindow.Owner = this;
            newActionWindow.ShowDialog();

            if (action.IsValid())
                participantViewModel.AddAction(action);

            Close();
        }
        private void EditPartyMemberAction(Object sender, RoutedEventArgs e)
        {
            var editActionWindow = new EditAction(partyViewModel.CurrentPartyMemberAction);
            editActionWindow.Owner = this;
            editActionWindow.ShowDialog();

            fileAccessor.SaveParty(partyViewModel.Party);
        }