All CAPI dialog functions take a keyword argument continuation . This is a function which is called with the results of the dialog.
You do not need to construct the continuation argument yourself, but rather call the dialog function inside
with-dialog-results
.
CAPI User Guide (Unix version) - 30 Aug 2011