add a sanity check to see if messaging is enabled before outputting menu item

Submitted by thedannywhal
Re add my page dynamic boxes