data save and load handling with dialog