Hi,
 
I have created a custom tool i am able to create a html gui  using sdk and made my engine as python
 
1. I want to open a dialog screen similar to the screenshot 
 

 
2. on click of button in configuration i want to call a  python function which is written in engine file
 
Thanks