       as = _.map targets, (c) -> Arcana.forCode(c)
       return Bacon.once(QueryResult.create(as))
 
+    $("#loading-modal").modal('show')
     params = {'codes': unknowns.join('/')}
     result = @search(params, codesUrl)
     result.flatMap (data) ->


  @search: (params, url) ->
    $("#error-area").hide()
    $("#loading-modal").modal('show')

    params ?= {}
    params.ver = ver

      QueryLogs.add(query)
      return Bacon.once(QueryResult.create(as, detailCache[key]))

    $("#loading-modal").modal('show')
    result = @search(query.params(), searchUrl)
    result.flatMap (data) ->
      as = _.map data.result, (d) -> Arcana.build(d)
