Make graph and config window size persistent using cookie store