add annotation object to undo and clear command