Added a warning if user tries to close the import popup before the process has completed.