First, position the cursor at the end of the text (note: it is the end of the text, not the end of the reference).
Secondly, click on the reference menu, click on the expansion triangle of the footnote panel, and select "section ending" in the drop-down box behind "endnote" in the pop-up footnote and endnote dialog panel.
Finally, at the end of the text, click the page layout, click the separator, and section break the next page.
All right!