modified example, using calendar with popover