Confirmation box to Yii button


I Made a button in my site and him execute a script in my centos but i search for put a confirmation box to execute the action.

The button:

$attribs[] = array('label'=>Yii::t('mc', 'Instalar Technic -> B Team'), 'type'=>'raw', 'cssClass'=>'mpack',

    'value'=>CHtml::ajaxButton(Yii::t('mc', 'Instalar B Team'), '', array(


        'data'=>array('ajax'=>'bteam', Yii::app()->request->csrfTokenName=>Yii::app()->request->csrfToken,),

        'success'=>'function(e) {if (e) alert(e);}'

     ), array('class' => 'btn btn-success btn-sm')),

    'hint'=>Yii::t('mc', 'Servidor não liga? Este botão seta "true" na "eula.txt", é necessario isso para seu servidor ligar, cheque seu console para verificação.'),     //Edit the hint option here   


Sorry the bad english

Take a look on bootbox that is easy to implement nd easy to use.just include js of bootbox nd call bootbox.alert or confirmation.