private void Add(object sender, RoutedEventArgs e)
        {
            var dialog = new WpfCommandDialog(new LinkedCommand(), PageModel.Commands);
            var result = dialog.ShowDialog();

            if (result.HasValue && result.Value)
            {
                PageModel.LinkedCommands.Add(dialog.Command);
            }
        }
        private void Edit(LinkedCommand command)
        {
            if (command == null)
            {
                return;
            }

            var dialog = new WpfCommandDialog(command, PageModel.Commands);

            dialog.ShowDialog();
        }