JQueryUI Dialog - inital div display state

JQueryUI Dialog - inital div display state

when you attach JqueryUI Dialog function to a div containing a form, do you need to set the initial CSS state of the div to display:none or does Jquery set that state automatically to anything with dialog function hooked to it?

Unless i missed it on this page: jqueryui.com

I never saw the initial state of the DIV containing the modal form set to display:none anywhere