Even when no plot is available, an empty plot file can be downloaded. Disable the download button instead.