Added validation to the profile name; only 1 editor for a profile should be opened
small changes