Added logic to hide unusable button
Merge branch '6.x' of github.com:ajstanley/yui into 6.x