${typeof title == "string" ? html`
${title}
` : title}
${typeof body == "string" ? html`
${body}
` : body}
${xioTextInput}
${yes.label}
${no.label}
`
},
})
const finish = prepareFinishingMoves(controls)
xioTextInput.onvaluechange = () => controls.rerender()
xioTextInput.onenterpress = () => finish.yes()
modal.addEventListener("keyup", ({key}) => {
if (key === "Escape")
finish.no()
})
})
}