[FABRIC-656] Ensure that the editor is used only when really needed. Fix reporting messages on profile-edit command.