After editing node text was canceled by escape the editing pane becomes
not showing but it still has focus. In such cases UITools.isEditingText
should return false so that undo is not blocked and escape can cancel
insertion of the new node using undo