Fixes an exploit related to the undo snake dialog, a big thanks to Nauk for finding this and bringing it to our attention in the forums!