Modals: Clean up modals.js (minor).