Implemented file loading and saving dialogs