 
     if Meteor.personId()
       Session.set 'importOverlayActive', true
+      e.dataTransfer.effectAllowed = 'copy'
+      e.dataTransfer.dropEffect = 'copy'
     else
       Session.set 'loginOverlayActive', true
+      e.dataTransfer.effectAllowed = 'none'
+      e.dataTransfer.dropEffect = 'none'
 
 Template.loginOverlay.loginOverlayActive = ->
   Session.get 'loginOverlayActive'

Template.loginOverlay.events =
  'dragover': (e, template) ->
    e.preventDefault()

  'dragleave': (e, template) ->
    e.preventDefault()

Template.importOverlay.events =
  'dragover': (e, template) ->
    e.preventDefault()
    e.dataTransfer.effectAllowed = 'copy'
    e.dataTransfer.dropEffect = 'copy'

  'dragleave': (e, template) ->
    e.preventDefault()
