 
     KD.utils.wait 177, notification.bound 'show'
 
+    return notification
+
 
   enableFullscreen: ->
     @setClass "fullscreen no-anim"


    notification.hide() for notification in @notifications

  createGlobalNotification:(message, options = {})->

    typeMap =
      'restart' : 'warn'
      'reload'  : ''

    @header.addSubView notification
    @hideAllNotifications()

    # if a notification is destroyed
    # find the previous one
    # and show it if it exists - SY
    notification.once 'KDObjectWillBeDestroyed', =>
      for n, i in @notifications
        if n.getId() is notification.getId()
