Adds confirmation dialog when navigating away from content/edit.jsp with unsaved changes.