I agree. The Young Turks took over in 1913 and tried to save what was left, but the Empire was so weakened defeat was inevitable.
With Gallipoli (an eleven month campaign, 1915-1916), Ataturk rose to prominence, and though a Turkish victory of the British, the overall defeat of the Central Powers in 1918 made Turkish transition into what passed for a modern state possible.
https://en.wikipedia.org/wiki/Young_Turk_Revolution
https://en.wikipedia.org/wiki/Gallipoli_campaign