undo the next button in Models