[IMP] attach model class to ViewManagerAction template

this way it can be used for all view types