isn't this done too late? What if someone saves a color and then wants it applied when he opens up the map, it will only be applied once he opens up the dialog. In map properties we use addActions instead.