Date dialog

This input is updated with x's value on clicking ok