Overhaul of the popup date picker