The imports are listed in a table, but the code doesn't check that the imported file actually exists before trying to open it. Could either mark flag entries in the imports table display as being unexportable if the file is missing, or just trap and handle the error with a popup.