A temporary window presented to a user (usually as a small box). It interrupts program flow, overlaying the UI, for the purpose of alerting the user or requiring user input or confirmation about a program decision. Sometimes dialogs are used to present forms for user input.
Dialogs, a type of prompt, is a customisable temporary window (usually in the form of a small box) that overlays the UI and, usually, freezes the UI until the user interacts with the dialog, usually by pressing a button or exiting the dialog.
Sometimes dialogs are used to present forms for user input.
Some examples of dialogs: jQuery, android