bugfixing in the color dialog