
MODx.msg.confirm({
    title: _('remove_locks')
    ,text: _('confirm_remove_locks')
    ,url: MODx.config.connectors_url+'system/remove_locks.php'
    ,params: {
        action: 'remove'
    }
    ,listeners: {
        'success': {fn:function() { Ext.getCmp("modx-resource-tree").refresh(); },scope:this}
    }
});