Added feature: Document button hidden when there are no attached docs.