title: How to prevent the ContentDialog from closing when home key is pressed in Windows phone 8.1..?
body: <pre><code>private IAsyncOperation&lt;ContentDialogResult&gt; _Task = null;
  private ContentDialog _message = null;            
  
  
          _message = new ContentDialog()
          {
              Content = "Hello",
              PrimaryButtonText = "EXIT",
              IsPrimaryButtonEnabled = true,
          };
  
          _message.PrimaryButtonClick += message_PrimaryButtonClick;
          _Task = _message.ShowAsync();
  </code></pre>
  
  <p>Here I have created a Task for content Dialog, so that I can close the ContenDialog explicitly from code.</p>
  
  <pre><code> How can I prevent dialog from closing when Home key is pressed and relaunched 
  </code></pre>