I let the user do some visual setup on a html page. It may take some time so I do not want the user to loose the setup done by closing the web page in some way (without a warning).
If I had used text areas, check boxes etc then the browser would warn the user. How do I tell the browser to warn the user in my case?