Example plot dialog using jQuery and jqPlot