Revert "support custom attributes for buttons"

This reverts commit 7f4301b33a503d292d15f023cc3078fe3cb92bf3.