Pass date value into input form in modal