def load_dialog(self):
		if not self.parent().isUnsaved():
			self.load_base()
		else:
			uns = unsaved_dialog(self)
			if uns.exec_():
				self.load_base()
	def trigger_new(self):
		if not self.parent().isUnsaved():
			self.new_nodialog()
		else:
			uns = unsaved_dialog(self)
			if uns.exec_():
				self.new_nodialog()
	def trigger_reset(self):
		if not self.parent().isUnsaved():
			self.reset.emit()
		else:
			uns = unsaved_dialog(self)
			if uns.exec_():
				self.reset.emit()