track current palette item, refactored PaletteColorDialog