fixed minor bug caused when someone clicks on the upload button for the diashow when no file had been selected