closeReturns: dialog

Close the dialog.

Fires

closinging, closed

Examples

sample

    
 <div id="dialog" style="display: none">Lorem ipsum dolor sit amet, consectetur adipiscing elit...</div>
 <button onclick="dialog.open()">Open Dialog</button>
 <button onclick="dialog.close()">Close Dialog</button>
 <script>
     var dialog = $('#dialog').dialog();
 </script>