Create functions.modal.js