I should clarify. I don't want my File->Save Page As to be messed with in any way whatsoever. I want something like Tools->Save Current State As. (And that's the *only* time something like onSave should trigger.)