91df0eb289
Fixes a regression caused by MDL-56364, wherein the buttons were made readOnly, meaning addButtons wouldn't work. This removes that change, while maintaining the original dependency between the buttons and the closeButton config options.