[client] Enable the caller to set the dialog width.