Fix max/avg/med/min selection on serial history graph
Close modal with ESC, IE fix for history graphs

If the NFT history section was hidden whan canvases were created they
did not work. As a workaround temporarily show the history section as
well if on IE, init canvases, and then hide it again.