edit dialog for events from calendar.