fixed dialog dependancies