Trigger new openCallback on doc clear.
I realize now that this should be handled by extension triggers. Ah well.. another TODO.