Import dialog now closes after import