<script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<button id="showDialog">Show</button>
<button id="normalClose">Normal close</button>
<button id="forceClose">Force close</button>
<div id="dialog" title="Basic dialog">
<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
</div>