implemented ServingDialog (with minor bugs)