Here is an updated version of the ezxdialog application. it is backward compatible to the previous version, but the updated one has the option of using a user-clickable button to retrun from the app rather than the timeout period.
from the Readme:
Code:
Version 0.2 update:
-------------------
If <timeout> is set to zero then the message box will include a button
that the user must press before returning. By default the text on this button is
`Okay`. To specify different test for the button use the call:
ezxdialog <caption> <figure> 0 <buttontext>
Example: ezxdialog "Trashed..." Dialog_Empty_Trash.gif 0 "Thanks."

It can be used directly with system calls, for example:
Code:
ezxdialog "`du -hs /ezxlocal`" DialogEmpty_Trash.gif 0 "M'Kay"
will display the memory usage of /ezxlocal in the dialog box and wait for the user to click on the button labeld "M'Kay" before closing