set `this.docId` in context of submission hooks