Added undo for editing comments
Removed undo entries when dragging duplicated comments into the palette