This is a standard close gadget. Clicking quits the program.
If the current project has been changed but not saved then the Unsaved Project requester is displayed.