Fix dialog fading out