Asking permission before the app and web browser closing, as accidental close of a web browser likely in a clinic setting.