reset form after invite