Fixed problem when closing color chooser dialog without selecting color