Documentation Export type has "hidden" attribute applied.

Hello guys, in the Document Export Page (1.5.12) there seem to be 2 different bugs:

1. If the goals page is not added, there is a javascript error in console: "caught TypeError: Cannot read properties of undefined (reading 'inputArray') " but the page was not required or indicated as required anywhere. For the user not adding that page, there is no way to tell why the export is not working. In "this.hasAssessedGoals = this.inputGoals.inputArray.some((function(t) {" in h5p-document-export-page.js the inputGoals is undefined if no corresponding page is added.

2. The ".h5p-documentation-tool-main-content" container has a "hidden" attribute, and no console errors. Manually removing the attribute displays the content. Seems like something is adding the attribute initially, and removes it when it's "done", but fails to remove it?

Attachments: 
Content types: