AI-499 : first shot for undo/redo support