[DF-2390] add error message into addSwitchEntity dialog