Check comment forms and prompt the user before allowing the page to exit.