added display_format argument to popup.calendar