closeReturns: dialog

Close the dialog.

Fires

closing, closed

Examples

sample

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