title: Modern UI Dialog result issues
body: <p>I am working with Modern UI and attempting to make a dialog box that asks a question and then waits for a response. I can do this with messagebox but though I would try using modern UI. I am unsure of how to get the button clicked value. </p>
  
  <pre><code>if (testapp.linkvalue != "NULL")
  {
      var v = new ModernDialog
      {
          Title = "my test",
          Content = "pewpew lazers rule. If you agree click ok"
      };
      v.Buttons = new Button[] { v.OkButton, v.CancelButton };
      var r = v.ShowDialog();
      if (????????????????)
      {
          MessageBox.Show("ok was clicked");
      }
      else
      {
          MessageBox.Show("cancel was clicked");
      }
  }
  </code></pre>