The edit file dialog now works with Ctrl+S and asks to save before closing.