How do I display a modal the moment I submit a registration form? The content of this modal is only a message. The following happens, in this form a file and information is sent. Since it usually takes a few seconds for the upload to take place, I'd like to launch a modal with a "Please Wait" message, so the user does not change the page while uploading. There is currently no information being displayed.