    async showExportDialogEvent({notePath, defaultType}) {
        // each opening of the dialog resets the taskId, so we don't associate it with previous exports anymore
        this.taskId = '';
        this.$exportButton.removeAttr("disabled");

        if (defaultType === 'subtree') {
            this.$subtreeType.prop("checked", true).trigger('change');

            // to show/hide OPML versions
            this.$widget.find("input[name=export-subtree-format]:checked").trigger('change');
        }
        else if (defaultType === 'single') {
            this.$singleType.prop("checked", true).trigger('change');
        }
        else {
            throw new Error("Unrecognized type " + defaultType);
        }

        this.$widget.find(".opml-v2").prop("checked", true); // setting default

        utils.openDialog(this.$widget);

        const {noteId, parentNoteId} = treeService.getNoteIdAndParentIdFromNotePath(notePath);

        this.branchId = await froca.getBranchId(parentNoteId, noteId);

        const noteTitle = await treeService.getNoteTitle(noteId);

        this.$noteTitle.html(noteTitle);
    }
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.