Correct dependency.

Fix the dialog dependency.