Adding the two-way binding to the form elements.