fix saving on data source edit page