The biggest cause of the dough not sticking together is that you can a bit of the filling on it, especially sauce. You only need a small amount of filling inside each pocket and you want to keep it well away from the edges. If you've added too much flour to your dough you could also have this problem. Make a quick egg wash by whisking together an egg and a tablespoon of water, and brush this along the edges to help them stick together.