[#1795] add IDatasetForm.resource_form method, allow custom resource forms