First working version of import and export. Improvements around dialogs.