add an opened callback to Swipe.page.confirmBox