[editor] Hide modal after click to export to a collection
@@ -417,6 +417,7 @@ except ImportError, e:
$(self.saveResultsModalId).modal('hide');
huePubSub.publish('open.link', resp.watch_url);
} else if (self.saveTarget() == 'search-index') {
+ $(self.saveResultsModalId).modal('hide');
huePubSub.publish('open.importer.query', resp);
} else if (resp.history_uuid) {
$(self.saveResultsModalId).modal('hide');
