 		#
 		if not @isShown()
 			return
-
-		return if CUI.__ng__ and !@__element
 
 		dim_window = CUI.DOM.getDimensions(window)
 

			width: ""
			height: ""
			margin: ""
			"max-width": ""
			"max-height": ""

		dim_layer = CUI.DOM.getDimensions(@__layer.DOM)



	setVisible: (on_off=true) ->
		if on_off
			DOM.setStyleOne(@__layer_root.DOM, "visibility", "")
		else
			DOM.setStyleOne(@__layer_root.DOM, "visibility", "hidden")

	@knownPlacements: ["s", "e", "w", "ws", "wn", "n", "se", "ne", "es", "en", "nw", "sw", "c"]

