fixed modal at end of game