CMS-4106 Exception in TreeGrid when saving content second time

Added exception to the `TreeGrid.getDataId()` method.
Removed `try-catch` from the `updateNode()`.