extract sync behavior to fs-sync-form-for directive