Fix callbacks in Pages.add without selector