     else
       displayError 'Dropbox Error', "An unexpected error occurred. Please refresh the page and try again."
 
+displayed = false
 displayError = (title, message) ->
-  loading false
-  bootbox.dialog
-    title: title
-    message: message
-    buttons:
-      "Close":
-        className: 'btn-danger'
+  if !displayed
+    displayed = true
+    loading false
+    bootbox.alert
+      title: title
+      message: message
+      callback: ->
+        bootbox.hideAll()
+        displayed = false
   return false
 
 signedIn = ->

        $('#player').data 'bbplayer', bbplayer
        loading false
        $('#player').data('bbplayer').bbaudio.play()
  return false

getUrlData = (album, name) ->

    client.makeUrl path, download: true, (error, urlData) ->
      if error?
        handleDropboxError error
        reject new Error()
      else
        resolve
          name: name
