CONTENTBOX-68: JS Updates to Close info/action panels on body click

* Removed onclicks from buttons and implemented a selector-based event
handler
* Added body onclick to hide open panels