Hi Matt,
UFW supports javascript calls using which you can open/close the popup.
To open the popup/flyout use a button/link like below,
<a href="javascript:void(0)" onclick="UFW.open('1')">Open the popup/flyout</a>
To close,
<a href="javascript:void(0)" onclick="UFW.close('1')">Close the popup/flyout</a>
To toggle display,
<a href="javascript:void(0)" onclick="UFW.toggle('1')">Toggle display</a>
Here “1” is the ID of the popup/flyout.
Change that accordingly as you need.
I guess this answer is a solution to #1.
You could also use the same for #2 temporarily.
Thanks,
Aakash