Thanks! Ctrl + W is a shortcut for closing the tab. Maybe I should have used another key for sneaking in the browser version.
Ahh that explains it!