always make sure to try and open the chartDialog on each click event