Update modal.js

typo in comment: loose > lose