Deprecate elemt attributes in favor of afModal template