improve implementation of the multiplayer dialog