How can I delay the visibility of my dialog box until tinyMCE has opened?
<p>I have the following code:</p>

<pre><code>    open: function (event, ui) {
        if ($(this).data('action') == "Editing") {
            tinyMCE.init(window.tinyMCEOptions);
        }
        else {
            tinyMCE.init(window.tinyMCEReadOnly);
        }
        $('.ui-dialog-buttonpane').
            find('button:contains("Submit")').button({ icons: { primary: 'ui-icon-plus'} });
        $('.ui-dialog-buttonpane').
            find('button:contains("Cancel")').button({ icons: { primary: 'ui-icon-cancel'} });
        $(":input[type='checkbox']").wijcheckbox();
        $("#dialog_type").wijdropdown();
        $("#dialog_select").wijdropdown();
        $(":input[type='text'],:input[type='password'],textarea").not(".native").wijtextbox();
    }
</code></pre>

<p>This works BUT the screen first opens and shows a text box for a few seconds before tinyMCE appears to hide the text box. Is there some way I could delay opening of the dialog or visibility until tinyMCE has completed?</p>
