I would use 100% silicone and run a bead around the edge/bottom of the lid where the gasket is and let it dry completely. Then, just put the lid back on. Don't make the bead too big or you won't be able to fasten the lid down. You should be able to take it on and off, this way, without breaking it loose every time. Hopefully you can get the lid closed all the way like this, but if it doesn't work, you will have to put the lid on while it's wet. If you have to put the lid on while it's wet, you will have to have new silicone every time you remove the air box lid.
Try not to use an excessive amount of silicone, because it might break off and get in your carb. Also, make sure water isn't getting in from the drain tube in the bottom of the air box.
Try not to use an excessive amount of silicone, because it might break off and get in your carb. Also, make sure water isn't getting in from the drain tube in the bottom of the air box.