Add local storage save logic for search based creation UI
Created by: vovakulikov
Closes https://github.com/sourcegraph/sourcegraph/issues/21098
This PR adds autosave logic for search-based insight and code stats insight creation UI.
if the user filled in some fields and left the page. When returning to the form page, it will see the last value of the filled fields.