 
     # converts NESW-Values to topbottomleftright and retains them in @getOptions
     @appendToDomBody()
-    @getSingleton("windowController").addLayer this
+    KD.singleton("windowController").addLayer this
     o = @translateCompassDirections o if o.gravity
     o.gravity = null
 

    if @getOptions().animate then @setClass 'out' else @hide()

    @addListeners()
    @getSingleton("windowController").on "ScrollHappened", @bound "hide"

    @once "viewAppended", =>
      o = @getOptions()

    return unless @visible
    super
    @getDomElement().remove()
    KD.singleton("windowController").removeLayer this
    @visible = no

  update:(o = @getOptions(), view = null)->
