added hidden input to the diag result to map to canvas & sheet, and methods to test save and restore plots