title: How to close modal dialog windows from javascript
body: <p>I have a page from which modal dialog page gets opened. After page is opened, the user makes some selections and clicks on the button and some javascript gets executed. After it is done, I need to close the modal page. I tried <code>window.close()</code> but it did not work. How can I close the modal dialog page from javascript?</p>