Create Bootstrap Modal Window Add the following to top of html page: View the code on Gist. To bring up the modal window, use the following code: View the code on Gist. Include button click event View the code on Gist.