Add date field and edit button