Correct minor escape bug when naming groups in the entity details dialog