title: Universal Windows App Show Page As Dialog
body: <p>I am trying to display a page as a dialog in Universal Window App (Windows 10).</p>
  
  <p>In WFP, there is this ShowDialog to call on Window:</p>
  
  <pre><code>var msgBox = new MessageWindow();
  msgBox.Owner = App.Current.MainWindow;
  msgBox.WindowStartupLocation = WindowStartupLocation.CenterOwner;
  msgBox.SetMessage(message, messageCategory);
  msgBox.ShowDialog();
  </code></pre>
  
  <p>How do I do something like that in Universal Window App (Windows 10)?</p>
  
  <p>Here is a <a href="http://i.stack.imgur.com/aq0JN.png" rel="nofollow">Sample Picture</a> of how it looks</p>