Making the History#current_page return the correct page when another native controller is presented as modal