To not feel lost or out of context, it's recommended to read the main post first.
In this simplified example we'll just use a Thing to set a status triggering the popup.
This Thing will have two properties and one service:
trigger (Boolean) - to indicate if an error status is present or not, if so - trigger the popup
selectedReason (Number) - to indicate the selected reason / root cause chosen in the modal popup
clearTrigger - to reset the trigger to "false" once a reason has been selected
The selectedReason will be logged into a ValueStream.
In addition to the Thing and the ValueStream we will need a StateDefinition to pre-define potential root causes to be displayed in the popup. We will use three states to be used in a traffic-light fashion to indicate the severity of the issue in a custom color schema.
To display the monitoring Mashup and the popup we will need two Mashups.