bvCloseAllModalDialogs
The function is used with dialog based applications and should be called during
processing WM_CLOSE message of the main dialog. The purpose of
this function is to close all modal dialog boxes invoked by the library.
BESTVIEWAPI(void) bvCloseAllModalDialogs();