Modified grapheditor.cpp, to prevent setting Graph Document name as empty.
Providing an empty string in the dialog, will retain the earlier Graph Document name.
An ideal case would be to disable the OK button of the QInputDialog when the text field is empty. However I might have to create a custom widget for that.