save a form before sending