Changing new dialog in segment editor to use class instead of ID.