An extra button called "Summary" has now been added to the QuitConfirmation class as well as the QuitConfirmationReplay class.
When clicked, the summary is shown, if instead the "Yes" button is clicked, the game will return to the main menu.
The endGame function now has the paramater summary which determines if the summary should be shown.
I passed trueon every instance in which the function is used outside from the ConfirmationDialogs, so the Summary is shown (e.g. the tutorial campaign).