add some error messages to import dialog.