Implement page auto save and auto redirection after timeout.