title: How to implement MAT_DIALOG_DEFAULT_OPTIONS?
body: <p>On a project we multiple Dialog's.
  Now, I want to set samen global variables to the DialogOption.</p>
  
  <p>I found: <a href="https://material.angular.io/components/dialog/overview" rel="noreferrer">https://material.angular.io/components/dialog/overview</a>
  and this code:</p>
  
  <pre><code>@NgModule({
    providers: [
      {provide: MAT_DIALOG_DEFAULT_OPTIONS, useValue: {hasBackdrop: false}}
    ]
  })
  </code></pre>
  
  <blockquote>
    <p>I applied these code with some other, but it doesn't work. The
    settings doesn't applied at all.</p>
  </blockquote>
  
  <p>Does anybody get these setting worked?</p>