CB-7712 remove references to closebuttoncaption

The code for this had been previously commented out, but was still listed in
the docs. So remove it from the docs and remove the dead comments.