Adding Editor event handler.
Hooking Editor Event Handler to Quit Button.