[GUI]: group all undoable edits into one when applying a correction