Fix: page parameter added to openPopup function