update: added dialogId field to adapter