The acknowledgement is separated from the text by a blank line, and the notes are put at the end of this section with endnotes. Use section break (continuous) after thanking, and then write a letter of recommendation.
Section break should then be inserted after the text.
Make more use of section break, and the problem will always be solved.