Fix 583: support for color chooser
fix color chooser for windows
fix color chooser for mac