Save imports and css editor mode to sessionStorage