It will not poison your water and you don't even hafta wait til it dries. I actually try to apply it to corals IN the tank. I say "try" because the stuff wants to float, and if it does not make contact as soon as it comes out, sometimes it will try to float on ya.
I remember one thread, the guy put it in his tank, it started to float and his fish tried to eat it. The little ball of glue stuck to the fishes lips.
No harm done.
Edit...Oh, I just reread your question... All that I wrote is true, but I didn't include that crazy glue does not work on plastic...
That's why the lid doesn't get stuck on it.