undo and do on multi-select