Click keyword not funtioning

Im creating a script that logs into a website. Everything works up until the click submit button. I am receiving this error message.

Unable to click on object ‘Object Repository/login_OR/Page_Field Squared/button_Sign In’ (Root cause: org.openqa.selenium.NoSuchWindowException: no such window: window was already closed

How do I fix this?