Clicking on save submits the form