This function is called when an error is detected, such as when the user enters an invalid directory. The function calls the convenience function DtkshDisplayErrorDialog() which displays a dialog box whose title is Find Error and whose message is contained in the variable $1, which is passed from the calling location.
dialogPostErrorDialog() { DtDisplayErrorDialog "Find Error" "$1" \ DIALOG_PRIMARY_APPLICATION_MODAL }
The last parameter, DIALOG_PRIMARY_APPLICATION_MODAL, tells dtksh to create a dialog that must be responded to before any other interaction can occur.