Form now clears only on successful submit