documentSelected
The UI layer should call this when a user has selected a document.
This can only be called in state State.WAITING_FOR_DOCUMENT_SELECTION
Parameters
document
the selected documented, must be null
to convey the user did not want to continue otherwise must be from the availableDocuments list.