DataPlot - Don't crash if the user cancels saving the data or image file