Hide messages tab when necessary
Merge pull request #3657 from dimagi/hide-messages-tab

Hide messages tab when necessary