MODx.msg.confirm({
    title: _('flush_access')
    ,text: _('flush_access_confirm')
    ,url: MODx.config.connector_url
    ,params: {
        action: 'security/access/flush'
    }
    ,listeners: {
        'success': {fn:function() { location.href = './'; },scope:this},
        'failure': {fn:function(response) { Ext.MessageBox.alert('failure', response.responseText); },scope:this},
    }
});