[client][buttonmanager] can set attributes on created button