ScoreDialog flag did not work correctly, fixed it