[Dublin Template] How to open modal pop using modal wigdet

[Dublin Template] How to open modal pop using modal wigdet

  
Forge Component
(21)
Published on 22 Aug (17 hours ago) by OutSystems R&D
21 votes
Published on 22 Aug (17 hours ago) by OutSystems R&D

version: 10.0.609

I have one container which should open on click on a button with input parameter as text I have entered in text box.

Please provide detailed steps. 

I have taken modal widget but pop up content displayed on main page instead of pop up and togglemodal action is not working