Check name during editing