The browser is under the impression you have started to enter data in a form, thus leaving may be unintentional and it seeks confirmation.
Easy to test, try entering some text in a the box for posting, then try and use the borwsers back button or a link to leave the page. Good chance you will get that prompt. There is something else that can trigger it too, can't for the life of me remember what it was.