         _L.show '._oab_archivable'
     else
       # can't be directly shared but can be passed to library for dark deposit
+      _L.hide '#_oab_file'
       _L.show '._oab_dark_deposit'
 
 _oab.prototype.findings = (data) -> # only used by instantill

_oab.prototype.state = (pop) ->
  if this.pushstate
    try
      if pop?
        # what to do with the pop event? for now just triggers a restart if uses tries to go back
        this.restart()
      else
        if window.location.href.indexOf('shareyourpaper.org') isnt -1 and this.data.doi?
          u = window.location.pathname.split('/10.')[0] + '/' + this.data.doi + window.location.search + window.location.hash
        else if (this.data.doi? or this.data.title? or this.data.url?) and window.location.href.indexOf('/setup') is -1 and window.location.href.indexOf('/demo') is -1
          k = if this.data.doi then 'doi' else if this.data.title then 'title' else 'url'
          u = window.location.pathname
          u += window.location.search.split('?' + k + '=')[0].split('&' + k + '=')[0]
          u += if u.indexOf('?') is -1 then '?' else '&'
          u += k + '=' + this.data[k] + window.location.hash
        window.history.pushState "", "find", u

_oab.prototype.restart = (e, val) ->
  try e.preventDefault()

    this.metadata()

_oab.prototype.find = (e) ->
  try e.preventDefault()
  if JSON.stringify(this.f) isnt '{}'
    for k in ['title','journal','year','doi']
      if v = _L.get '#_oab_' + k
