don't call load or save if file dialog is canceled.
use file.exists() instead of static QFile::exists(filename) in PlanetsUniverse.load()