There's no reason it would have to be *just* before the .dialog() call. Any time after jQuery UI Dialog script is loaded on the page and before the .dialog() call will do just fine.
Leave a comment on michail.kuznetsov's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic