Save panel content to sessionStorage on each save to db

fixes #1379