Fixes to text panel, and alert related to angularjs upgrade