[DF-4690] - fixed crash while pressing Esc during drag&drop of the new control to the hierarchy tree.