Added lastLevel to BeforeAddUndo level event so it's easier to block undo level creation based.