Add check if gameId is set to avoid empty modals on page enter.