Fixes U4-4264 while we wait for angularification.
Merge pull request #387 from lars-erik/Fix-U4-4264

Fixes U4-4264 (dictionary tree collapses) while we wait for angularification.