Fixed the Results chart to make it work with multiple document modals.