Made sure we pass the model when calling createMediaUI
Merge pull request #25 from dreisch/pass_model_to_viewfactory

Made sure we pass the model when calling createMediaUI