Fix button function. Use AttributeSet to render Form opening tag.