Deprecate element attributes in favor of afModal template