private void btnOk_Click(object sender, RoutedEventArgs e) { viewModel.SaveChanges(); this.Close(); }