Modal dialog boxes are used when an application, utility, tool, command or other means requires information before the application can continue, such as a file name, or when a complete set of information is required before proceeding, or when a message such as an alert or warning is given.