Detecting changes in designer

Is there any way to detect whether there are any unsaved changes in my designer? Is that stored anywhere in the gateway or designer files?

From what context do you want to know/why do you want to know?