Pop-up warning when you're about to be logged out

My idea is: To create some sort of notification (pop-up, bar…) to show when someone is about to be logged out. Like that they can save their work and take necessary measure to not lose their work or stay logged in.

I think these groups of people would benefit from this idea: The daily user

Why I think they would benefit from this idea: It would save them a lot of time where, instead of losing their work or getting interrupted in what they were doing, they can take measures to avoid it or save their work.

Any code or resources to support this idea: Nope… :confused:

Are you willing to work on this idea?: Can’t, not enough skills

What skills and resources do you need to explore this further?: Don’t know, I’m not a dev