Prev and Next mode saves input