Adds type to form fields in modal form - name, email, password