fix(doc): add ultimate histo comment before destroy document (refs #4929)