Make sure to fold the edges of the dough over the filling to seal it in. You can also use a layer of streusel topping to help contain the filling.