Figure 7: Dialog windows: alert, information, confirmation and error
The module ModalDialog builds modal dialogue (see Sect. 8.2) with toplevels (see Sect. 8.2). The module DialogWin contains an abstraction for dialogue windows, and built on top of that, frequently used windows, such as alert, information, confirmation windows and windows, and much more (Fig. 7). See the example in Maindialog.hs.
The module FileDialog implements a dialog query for a file name while browsing the directory. The file dialog is vaguely in the style of GTK+, with directories on the left and files on the right. See the example in Mainfiledialog.hs, and the screenshot in Fig. 8.