Ext.Msg.confirm -- their example almost works.:
Ext.onReady(function(){
    Ext.Msg.confirm('Hey!', 'Is this ok?', function(btn, text){
        if (btn.toLowerCase() == 'yes'){
            alert('go ahead');
        } else {
            alert('abort');
        }
    });
});
Had to add .toLowerCase() and change Yes to yes, but otherwise a good note to self.

Labels: ,