Preheat oven to 350 F. Line a 9 x 9 baking dish with parchment paper. Spritz with nonstick cooking spray. In an extra large skillet over medium heat, pour 3 tablespoons of olive oil and heat.
Add the onion, green onions, and garlic, cooking until the onions are soft. Add the spinach in batches, cooking until it wilts. Remove from heat.
In a large bowl, stir together the eggs, ricotta cheese, feta cheese, salt, black pepper, and dill weed. Stir the cheese mixture into the spinach mixture until well blended.
Place one sheet of puffs pastry in the bottom of the prepared baking dish. Add the spinach mixture and top with the remaining sheet of puff pastry. Brush with the remaining olive oil. Bake for 40 minutes or until the puff pastry is golden brown.