Don't have Telegram yet? Try it now!
https://blog.knoldus.com/prevent-user-from-losing-unsaved-data/
Prevent user from losing unsaved data