allow button labels to be set with attributes