UI Invoked from action script or model

Is there a way to add UI during model simulations?  I see how to do one from the simulation configuration, but what I want is to invoke one of many possible dialogue boxes based on inputs to the running systems engineering model.

 

 - Pete