Are you sure you want to navigate away from this page?
The changes you made will be lost if you navigate away from this page.
Press OK to continue, or Cancel to stay on the current page
What is the best way to show this kind of message when changes have occurred and the user tries to close the page?
I've seen other users from years back using fckeditor do it, but I wondered if there was now a better way.
Thanks.