def endTheSheet_(self, sender): NSApp.endSheet_(self.confirmTokenSheet) self.confirmTokenSheet.orderOut_(sender)