Firefox does not trigger the beforeunload event again after the first warning.
beforeunload
This is not a bug. it’s an intentional design choice by Firefox.