clearing the #editdoc