fix modal issues for game won and waiting for player