public static void ShowAsDialog(string message, string caption, string url)
 {
     var view = GetClickableMessage();
     var viewmodel = new ClickableMessageViewModel();
     viewmodel.Url = url;
     viewmodel.Title = caption;
     viewmodel.Message = message;
     view.DataContext = viewmodel;
     Window parent = Utility.FuncGetCurrentActiveWindow(App.Current);
     if (parent != null)
         view.Owner = parent;
     view.ShowDialog();
 }
 private void ShowClickableMessageExecute()
 {
     var viewModel = new ClickableMessageViewModel();
     DialogService.ShowDialog(viewModel);
 }