Fact chart modal triggers an error
Uncaught Error: The number that was passed in is not a number.
How to reproduce:
1. go to facts page
2. click on the 'view chart` button
3. close the modal
4. click on another `view chart` button