[BUG #7696] Fixed dispose of the color popup when the color selector window has been opened.