Add term unicity checking in the popup window fix #18221