def METHOD_NAME(self, ev):
    ev.stopPropagation()
    self.score.tabs[-2].add_close_button()
    self.score.tabs[-2].select()
    del self.score.tabs[-1]
    del self.score.bars[-1]
    self.remove()