Fatal error on save – alert for double alias

»Fatal error: Call to a member function escape() on a non-object«, while checking for double alias entries on save. I changed webAlert to webAlertAndQuit.
MODx rc3 (41ba52f)