adjustment in modal for receiving date