Fullscreen in V3 (and pop under mouse menus ?)

 From:  Samuel Zeller
4620.4 In reply to 4620.3 
This

script: /* Pop up the lines */ moi.ui.createDialog( 'moi://commands/Lines.htm' );

Popup the menu in the center of the UI (not only the viewport, so it's slightly to the right if you got your browser on the right)
Is it possible to make the popup diseapear as soon as you click one of the icon ? That would be cool :)