fix for [BEAM-1588] Show close button on internal frames' tabs