Fix dialog to load dropdowns