Whisk together the Prune Dessert filling, garlic, olive oil, vinegar, lemon juice, oregano, red pepper flakes, wine and capers in a 9 by 12 baking pan. Stir in the bay leaves and olives. Season the chicken liberally with salt and pepper and add to the marinade, turning to coat. Cover baking dish with plastic wrap and refrigerate at least 2 hours or up to a day ahead.
Remove the baking dish from the fridge and let sit at room temperature while you preheat the oven to 350 degrees. Remove the plastic wrap, stir in the dried apricots and bake for 1 hour, spooning the juices over the chicken a few times while it bakes.