Quick fix to hide stats table when clicking table button

Noticed an issue that when you click the table button with the statistics table viewed then it draws in the same workspace. Hitting the statistics button again hides both tables. 

This fix hides the statistics table when you click the table button.