C++ How can I hide the optiondialog?

Hi,

 

how can I hide the optiondialog programmatically?

thanks in advance.

westworld