halt quit action on windows when the browser is active