Remove javascript for finalize and merge. Use a <form> instead.