restore access to $.modal.update