/// <summary>
        /// Method to invoke when the Add command is executed.
        /// </summary>
        private void OnAddExecute()
        {
            // Create view model for new person
            var viewModel = new PersonViewModel(new Person());

            // Get UI visualizer service
            _uiVisualizerService.ShowDialog(viewModel, (sender, e) =>
            {
                if (e.Result ?? false)
                {
                    PersonCollection.Add(viewModel.Person);
                }
            });
        }
        /// <summary>
        /// Method to invoke when the Edit command is executed.
        /// </summary>
        private void OnEditExecute()
        {
            // Create view model for existing person
            var viewModel = new PersonViewModel(SelectedPerson);

            // Get UI visualizer service
            _uiVisualizerService.ShowDialog(viewModel);
        }