title: how to capture closing of a browser tab
body: <p>We would like to throw a specific message before a user closes the browser. Is there a mechanism which will work across all major browsers (like IE, firefox, chrome, opera)</p>