Save form to localStorage