When user enters a topic in the lesson modal, fetch the latest report with that topic via /api/lesson-reports/by-topic. If the text field is not empty, show a confirmation before replacing. On confirm, populate lessonText and uncheck lessonAiCheck.