Close Tab/Window confirmation. Is it possible?

Hi guys,
I’m working on a dash app where user do lots of data processing, which needs to get back to the backend.
Now we all know websites that alert a user when a tab/window is closed with unsaved progress and open a confirmation dialogue.
Is it possible to build such a confirmation with dash?

Kind Regards!

Maybe this post is interesting for you: Prevent user from leaving dash app - #2 by stlehmann

1 Like