Updated EntityController.js template for hiding/enabling Title bar buttons.