commit the form