I was using a text editor in Chinese, when I tried to exit without saving the currently opened file it showed me this sentence:
What is the role of 在 here? Is it related to the usage of
(some event)前? Or can be omitted without altering the sentence meaning?