changes in single_dialog handlers