fixes #7163
rebuild
fix event binding in modal.js