I subclassed modaldialog to make an "yesno" alert box. Is it possible to write a global function to open this dialog and wait a click on the "yes" or "no" buttons, returning true or false according to the button clicked? Thanks in advance, -- Paulo