Added datepicker to Dialogbox

still saves date as String