Extra windows are now deleted if the undo close window count is reduced.