Replaced newWindow with revealWindow