Extract dialog directives utilities