Added construct documents to UI.
Fixed bug that was throwing a react.js warning.