I want to alert my user if they close the window without save the changes. Is it possible to detect the changes? And how? Welcome any tips Regards, Hua Jie -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130417/f5885457/attachment.html>