How do you make the background fade with DirectDialog?

The manual has an option with dirrectDialog that says it will fadeScreen the background screen. I can’t seem to find any way to make it work. I also don’t understand what dialogName is or does or is for.

Anyone know how to use this stuff?