Hi @Sydney Kern,
Thank you for posting in this community.
Your question seems a bit peculiar, as I have never seen a window pop up to share a file when editing it.
But don't worry, we can work together to narrow down and resolve the situation. So, please kindly provide more information below to let us work further.
1.What version of SharePoint are you using?
2.You can try opening the file in the app and see if the problem persists.
3.Are other users with same permissions facing the same problem? View through another computer or account.
4.Whether all SharePoint libraries have the same problem? You could create a new SharePoint library to check.
5.Check if the same issue occurs with other SharePoint sites.
6.Sometimes, browser settings or extensions can cause unexpected behavior. Try using a different browser to see if the issue persists.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.