Fixed double escaping in setpermissions widget