Hello,
You are likely manipulating the symbols on the display, which the display counts as a modification and needs to be saved. To stop the prompt for saving you could include the following in the "BeforeClose" event:
ThisDisplay.Modified = False
Principal Consultant
Real-Time Data Management @ Wipro Technologies