title: Passing input values to Dialog Component
body: <p>I am implementing the dialog component of material2 and faced this issue:</p>
  <p>I want to make a generic dialog for all the confirmation type of messages, where developer can input the text to the dialog as per the business requirement. But as per the <a href="https://material.angular.io/components/component/dialog" rel="noreferrer">docs</a> there are no such provisions. Do we have a work around for the same, or I should post it as a feature request on github?</p>
  <pre class="lang-js prettyprint-override"><code>export class ConfirmationDialogComponent implements OnInit {
    @Input() confirmationText: string;
    @Input() confirmationTitle: string;
    @Input() confirmationActions: [string, string][] = [];
  
    constructor(public dialogRef: MdDialogRef&lt;ConfirmationDialogComponent&gt;) {}
  
    ngOnInit() {}
  }
  </code></pre>
  <p>Calling like this:</p>
  <pre class="lang-js prettyprint-override"><code>let dialogRef = this.dialog.open(ConfirmationDialogComponent);
  </code></pre>