deselect selected file; close dialog after import