Add document to the discussion widget.