Add confirmation-dialogs.yaml to d2k's and ts's mod.yaml or they crash
Hide ingame menu before showing the confirmation dialog

As a bonus, don't show the confirmation dialog if the game is over.