Added a close button to the legend to close pie chart

@cschroed-usgs Merge this *after* merging NAWQAAN-312 since this pull request had to include that branch in here. 
The more you know!(TM)
Yeah, I'm not sure whether we need to call it or not. Regardless, this is totes mergeworthy. Add the call if you think it makes sense.