As for your issue, I just tested and displaying a modal dialogue from a hidden form worked fine for me.