[Netsurf-develop] Callbacks after the page is closed