Update dialogs on undo/redo