Add dialog box directives.