hide modal close button when series grid is shown in a tab