private void OkButton_Click(object sender, RoutedEventArgs e) { DialogHost.CloseDialogCommand.Execute(DialogInputText.Text, this); }