A modal window is windows that run on top of the application, so you cannot do anything with the application until you close the modal window.
The jQuery dialog is not a separate window, so technically it cannot be a modal window. It can, however, emulate much of what a modal window does by placing an overlay element on top of the rest of the page so that you cannot interact with it.
source share