Fixed issue with day calendar and popups