Add a success callback for overlayContent()