The best way to do this is ensure your tortilla is nice and full and rests snugly against both pie iron plates when closed. Do this and they will hold together and keep the fillings inside. Under-fill them (or use a too-large pie iron) and they won't!