Updated dirty form check so it won't give a conflict in other program that already use the isDirty() method.
Authored by: keess 2008-04-23
Parent: [r1936]
Child: [r1938]