title: yii2 customize a bootbox modal instead of alert on data-confirm
body: <p>For example here I want to change alert for a bootbox.alert(...</p>
  
  <pre><code>'delete' =&gt; function ($url, $model, $key) {
                      return Html::a('&lt;span class="glyphicon glyphicon-trash"&gt;&lt;/span&gt;', $url, [
                          'title' =&gt; Yii::t('yii', 'Delete'),
                          'class'=&gt;'btn btn-primary',
                          'data-confirm' =&gt; Yii::t('yii', 'Are you sure you want to delete this item?'),
                          'data-method' =&gt; 'post',
                          'data-pjax' =&gt; '0',
                      ]);
                  },
  </code></pre>