rename isOpen to isPageOpen