Preheat the oven to 350 degrees F (175 degrees C). In a shallow dish, stir together the flour, salt, pepper, parsley, and dill. Rinse chicken breasts, and pat dry. Dredge chicken in the flour mixture.
In a large skillet, heat 2 tablespoons of the butter over medium-high heat. Place chicken into the hot buttered skillet, and fry until brown on both sides. Transfer chicken breasts to a 1 quart glass baking dish. Add remaining butter to skillet, and fry the mushrooms and onion until wilted and lightly browned. Stir in the white wine, and reduce heat to medium. Simmer for 3 minutes to blend flavors. Pour the mushroom mixture over the chicken in the dish.
Cover dish, and bake for 20 minutes in the preheated oven. After 20 minutes, remove cover, and sprinkle with shredded cheese. Continue baking for 10 more minutes, or until cheese is lightly browned and bubbly.