Keep the JSON state of the form (at the bottom of the left panel of component debugger):
in session storage (https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage#saving_text_between_refreshes). Upon refreshing, fill the json field and submit it to reload and display the back-uped state of the form