fix legacy ".dialog"