Added load and save dialogues, save is functional.