if(EditorUtility.DisplayDialog("Shader Graph Might Have Been Modified","Do you want to save the changes you made in the shader graph?","Save","Don't Save"))
{
if(graphObject.isDirty&&EditorUtility.DisplayDialog("Shader Graph Might Have Been Modified","Do you want to save the changes you made in the shader graph?","Save","Don't Save"))