#4278: Don't render empty tabs. Close open tabs when clicked.
Merge pull request #4733 from openscholar/4728-accordion_tweaks

Don't render empty tabs. Close open tabs when clicked.