you can set up multiple info panels in Blockly and display the correct one dependent on a certain condition.
In this example I display an info panel when clicking on the teacher and when you click on her the second time another one will be displayed. This is based on the value of the
clicked variable which is incrementing when clicking on the teacher.
Maybe you can do something similar.