#4767: Fixed crash on canceled save/load action