Added import/export, confirm

Import and export dialogs have been added and the delete button now asks
for a confirmation.