I have an application that pulls data from the SharePoint API and displays it on a web page. When the user clicks on the thumbnail, it opens a new page with the document in a WOPIFrame so they can preview it. The action is set to interactivepreview so they can't modify the file. However, if they click the link in the bottom right of the document "Open in New Window" it will open the document in a new window with the action=preview so they can edit it. I want to either prevent the user from opening in a new window, or if they do click this action, open in a new window in interactivepreview mode so they can't edit it. How can I either hide this functionality or modify it so it never opens the document as action=preview?