open-classifieds/openclassifieds2 — pull request #902 by oliverds (2014-08-14 01:00:14+00:00)
Title: Sure you want to leave? modal jscript #506

Something like this was what you had in mind?

Shows the alert only if the user changed something on publish new form.