Don't copy import file on UI thread and check for exception when showing a dialog