getModelManager optional attributs

I'm ok, it's better with $dm to private.
I have change the getModelManager to have the defaultModelManager when
there is no attribut.