+ if self.close_on_next_exec is not None:
+ tmp = self.close_on_next_exec
+ self.close_on_next_exec = None
+ self.execing = True
+ self.close(*tmp)
+ else:
+ single = self.onFirstExecBegin
+ self.onFirstExecBegin = []
+ for x in self.onExecBegin + single:
+ x()
+ if not self.stand_alone and self.session.current_dialog != self:
+ return