How to create and execute non-modal dialog ?

How to create and execute non-modal dialog (sorry for stupid question)?

Wasn’t this answered in this question from you?