Code cleanup and move the game pause before displaying the save state name dialog.