A need such as dialogs or host features now shows on its own line, and the "Outside the document" heading appears only above what the script does outside the document.