Date controller working in popover. Several bugs to handle.