A method and system for displaying comment documents within a parent
document. to the parent document allows the user to enter content to be
included in the comment. In response to indication that the entered
comment should be saved, the comment contents are captured and stored
into a newly created comment document associated with the parent
document. The comment document contents are presented through a display
region within the user interface to the parent document. In response to
detection of a transition of a parent document from a state in which
comments can be added to a state in which comments cannot be added,
comment documents associated with the parent document are located, and
the contents of those comment documents are copied into the parent
document such that they are displayed as part of the parent document, and
all associated comment documents for that parent document are deleted.