Add `session has changed` warning on exit.