add active dialogue id to contacts model