short-circuting a dialog box?