log and shift Dialogs: fixing synchronization issues in dialogs