multiselect: fix undo stack while editing