The CAPI provides a number of built-in dialogs which should cover the majority of most peoples needs. However, there is always the occasional need to create custom built dialogs, and the CAPI makes this very simple, using the function
which displays any CAPI interface as a dialog, and the functions
as the means to return from such a dialog.
CAPI User Guide (Unix version) - 30 Aug 2011