In case the server answers to the client and the client only calls updateDialog, the server could directly call update Dialog.