save config on close of color picker