title: Confirm Dialog when i close the browser?
body: <p>i need to display confirm dialog box before close browser window using javascript or PHP.
  the confirm box should come when i click the close button of browser. other wise don't display dialog.
  please help me any.</p>