add document to an idea