When user is on entry/page editor and write something in ckeditor and then try to publish his changes always appears a confirm dialog asking if he want change page.
This is useful if user forgot to save and try to change page, but it's annoying when user is submitting.
This function:
function checkIsDirty(){
return $content.ckeditorGet().checkDirty();
}
should also check if form is submitted. In that case don't ask.