Hello.
I'm trying to implement a touch handler that when pressed a new dialog is opened and the current one is closed using the SwitchToDialog method.
This is my current setup:

This is the 'main' dialog, that is, the one that should appear first. The gear icon and the touch event handler that is on top of it are what I want to press in order to get to the new dialog.

The slot brick is programmed with the following code:
if ( Touch_SettingsIcon )
{
SwitchToDialog( ConoxInfo, null, null, null, null, null, null, null, null, null, false );
}
This is the dialog that I want to change to:

However, I get this error:

What am I doing wrong? I feel like I am very close.
Thank you.