just use `z.doc.on(event, selector, handler)`