A modal component without using the jQuery library.
Include the CSS and JS files.
<link href="modal.css" rel="stylesheet"/>
<script type="application/javascript" src="modal.js"></script>
<button data-target="modal_dialog_ID" data-toggle="modal">Launch modal</button>
<div id="modal_dialog_ID" class="modal">
<div class="modal-window">
<span class="close" data-dismiss="modal">×</span>
...
</div>
</div>
See modal.html for examples.