Issue #1214: Cannot pass a int parameter to the views from ViewComponent.

#1214
Fix: Checking if the model is not null in the Copy constructor of ViewDataDictionary.