/Engine/Source/Editor/MainFrame/Public/Interfaces/IMainFrameModule.h
Requests that the editor be closed In some cases the editor may not be closed (like if a user cancels a save dialog)
void RequestCloseEditor()