Split ScoreDialog into its own file