title: confirm dialog in dojo
body: <p>How to create a confirm dialog box in dojo? I would like to have an ok cancel dialog to appear on button click with dojo dialog (no javascript confirm dialog).
  So far i can only display a dialog on click event.
  Heres my code:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  dojo.require("dijit.form.Button");
  dojo.require("dijit.Dialog");
  
  var secondDlg;
  dojo.ready(function(){
      // create the dialog:
      secondDlg = new dijit.Dialog({
         title: "Programmatic Dialog Creation",
         style: "width: 300px",
     draggable:false
      });
  });
  showDialogTwo = function(){
     // set the content of the dialog:
     secondDlg.set("content", "Hey, I wasn't there before, I was added at " + new Date() + "!");
     secondDlg.show();
  }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body class="claro" style="margin-right:10px;"&gt;
  &lt;button id="buttonTwo" data-dojo-type="dijit.form.Button" data-dojo-props="onClick:showDialogTwo" type="button"&gt;Show me!&lt;/button&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>How can i make this ok cancel dialog box?</p>