modal.js updated