Added isSupported boolean to model. Trying to define button click action in template.