The .fade class adds a transition effect which fades the modal in page: Tip: If were going to open a popup, a good practice is to inform the user about it. An opening window icon near a link or button would allow the visitor to survive the focus shift and keep both windows in mind. A popup can be opened by the open (url, name, params) call. It returns the reference to the newly opened window. The most robust way to ensure all users can close a dialog is to include an explicit button to do so. closes the modal if you click on it. Bootstrap Modals - W3School the modal. I think the part you missed in the answer was the requirejs-config.js file declaration.