 		@statesBackground?.switch("a")
 		@statesBackground?.once Events.StateDidSwitch, =>
 			@background?.visible = false
+			@layerB.visible = false
 
 class NavComponentDialogTransition extends NavComponentBackgroundTransition
 

				b:
					scale: 1
					opacity: 1
			@statesB.animationOptions =
				curve: "spring(800,28,0)"

		if @navComponent.background
			@background = @navComponent.background

	forward: (animate=true) ->

		@background?.placeBehind(@layerB)
		@background.on(Events.Tap, @navComponent.back)

		@statesB?.animationOptions.animate = animate
		@statesB?.switchInstant("a")
