Added some JavaScript to close the modal and clear the email form after clicking the subscribe button.