added save-as dialog to XChart panel to save plots