It's not possible to override these. Here is a little example that should help you getting things done without reinventing the wheel:
state-cm.js (909 Bytes) (custom module)
state-example.json (9.8 KB) (session)
Filtering state can be done either in the session (save button's onValue script) or in the custom module.
I have little time right now to explain more in depth, but feel free to ask