[dialog] Name attribute best practice