SharePoint Modal Dialog Box Examples. Include the latest jQuery library, bootstrap files (bootstrap.js,bootstrap.css) from the download and use below html code in .aspx page. Open Bootstrap Modal Window on Button Click Using jQuery. To open Bootstrap modal on button click, you have to use the jQuery modal (). You can can also display Bootstrap modal when someone clicks on button by adding the Bootstrap classes data-target and data-toggle.