I want something that ask before stop the process like the OperatingSystemshutting down and a browser window opened with this session runningstop theshutting down process, ask if it can be stopped etc.How can I do this?