Fix dialog when no calendar is present