Fix input-button disabled state; add support for jquery UI buttons of type 'uibutton'