updated back buttons to persist form data