Don't have Telegram yet? Try it now!
https://winaero.com/how-to-enable-close-tab-confirmation-in-firefox-94-and-onward/
How to Enable Close Tab Confirmation in Firefox 94 and onward