update: flush text servlet sessions when the dialog is completed