This control is a configurable Dojo dialog to capture comments from the user implemented as a custom control. The custom control has a number of properties that allow the developer to force presentation of the dialog onLoad, prevent cancelling of the dialog, define which DominoDocument and field the comments should be bound to, define an error message, and define which element should be partially refreshed after the comments have been entered.

 
In addition to being triggered onLoad of the XPage, the dialog can alternatively be triggered programmatically through client-side javascript. 
 
QuerySaveDocument SSJS is required to save the comments back to the underlying DominoDocument datasource.