restore picked color in dialog