SEO tools report that the keywords in modal dialogs are important for my website

I noticed most of the notable keywords from our website’s landing page comes from our term and conditions which is a modal embedded after the closing body tag. I used https://neilpatel.com/ to analyze our website.

I think that the modal contents are affecting my keyword count thus might affect my SEO score.

Is there a way I can prevent this from happening?