title: custom dialog Mahapps ShowMetroDialogAsync with close button
body: <p>I create Mahapps custom dialog message with this code. the problem is the dialog form not show close button so cant close it.
  how to show close button ?</p>
  
  <pre><code>        public async void button_Click(object sender, RoutedEventArgs e)    
  
    {      Button btn = (Button) sender;
          //dialog.Resources["CustomDialogTest"];
          string[] id =  btn.Name.ToString().Split('_');
  
          this.MetroDialogOptions.ColorScheme = MetroDialogColorScheme.Accented;
          var dialog = (BaseMetroDialog)this.Resources["CustomDialogTest"];
  
          var mySettings = new MetroDialogSettings()
          {
              AffirmativeButtonText = "OK",
              AnimateShow = true,
              NegativeButtonText = "Go away!",
              FirstAuxiliaryButtonText = "Cancel",               
          };
  
  
           await this.ShowMetroDialogAsync(dialog);
           // this for close the dialog -&gt; await this.HideMetroDialogAsync(dialog);           
      }
  </code></pre>