prevent quit when browser is active on windows