updated dialog logic to expand or shrink depending on number of peers in room