Replace the observable SessionInput.referenceInsertionAllowed with canInsertReferences(), a read that addReferences rechecks before editing. The file context menu now observes only the locale; a draft that becomes uneditable while the menu stays open reports failure on selection. The input facade reads Session and composer-block facts through plain functions, matching the quote-insertion dependency.