title: Yii and YiiBooster widget modal confirm to url
body: <p>Using the yiibooster modal widget, I want it to go to a different url if user clicks ok to confirm.</p>
  
  <pre><code>$this-&gt;widget('bootstrap.widgets.TbButton', array(
      'label'=&gt;'Restart Game',
      'type'=&gt;'warning',
      'htmlOptions'=&gt;array(
          'onclick'=&gt;'js:bootbox.confirm("Are you sure?",
          function(confirmed){console.log("Confirmed: "+confirmed);})'
      ),
  ));
  
  //this is the url i want it to go to when ok confirmed is clicking
  'url' =&gt;array('site/restart?gameId='.$gameRecord-&gt;id)
  </code></pre>