To define the minimum height, in pixels, to which the dialog box can be resized. The dialog() method can be used in two forms: $(selector, context).dialog (options) Method, $(selector, context).dialog (action, [params]) Method. To close the dialog box when the user presses the escape key while the dialog box has focus, when set to true. A DOM element within which a matching element may be found: W3Schools videos.