I would seal where the wires go into the CDI as well. Just a smear of silicone ought to do it. Don't forget to make sure your electrical connections are water tight as well. Some type of "liquid electrical tape" oughta work, as well as some more silicone.
I need to seal up my motor soon. No gasket on the mag cover, and I don't want to fry the new mag.