If the substrate is high to the top, and the silicone is on the sides of the tank, they can climb up and escape.
Put something heavy on the lid and you should be ok.
You will lose a lot of moisture with the mesh lid, so keep an eye on the inside of the tank.