Make magic undo more pleasing by clearing input area for last entry