Modified popup to enable hours and days to be selected.