Read, write Tag values

Start with just getting the output to change first. Then we'll worry about showing/hiding with the submit button.

Make sure your parameters are set up correctly on your embedded view to get the output to change, rather than send a message.

If this is the yes button script

def runAction(self, event):
	if self.view.params.popup:
		system.perspective.sendMessage("Confirm", payload = {"payloadID":self.view.params.payload_id, "confirm":True})
		system.perspective.closePopup('')
	else:
		self.view.params.output = True		

We need to make sure the popup parameter is false on the embedded view, otherwise you'll just be sending a message instead of changing the output.
image

Second, we need to make sure the parameter is type Input/Output. Right click the parameter in your confirm view and select the Input/Output option from the Input/Output menu.
image