provide template variable for hiding modal close button when shown in a tab