rem: EchoModalManager.modalElementIds[j] = EchoModalManager.modalElements[j + 1]; 
add: EchoModalManager.modalElementIds[j] = EchoModalManager.modalElementIds[j + 1]; 
context: EchoModalManager.setModal = function(elementId, newState) {    if (newState) {        if (EchoModalManager.isModal(elementId)) {            // Already modal: do nothing.            return;        }        EchoModalManager.modalElementIds[EchoModalManager.modalElementIds.length] = elementId;    } else {        for (var i = EchoModalManager.modalElementIds.length - 1; i >= 0; --i) {            if (EchoModalManager.modalElementIds[i] == elementId) {                for (var j = i; j < EchoModalManager.modalElementIds.length - 1; ++j) {                    EchoModalManager.modalElementIds[j] = EchoModalManager.modalElements[j + 1];                }                --EchoModalManager.modalElementIds.length;                return;            }        }    }};
meta: 498	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/498/5f35085be3b2f63a8b559ce55400815d0eb81646/ClientEngine.js/buggy/src/webrender/java/nextapp/echo2/webrender/resource/ClientEngine.js