added clientId field to calendar dialogs