This change will recognize u3000 as space, and skip it when player_name change. Otherwise, some players will use u3000 as player_name, and their ID won't show to others in game.
If you don't like it this way I could also code a more general PopupModal which can be configured to render anything.
Lambdas would be perfect to clean this up...