Added window opened and closed handlers to ViewWindowsManager