Added a dialog for choosing the file to load and save