You can suppress dialogs if you run in true batch mode (at the IDL, not ENVI command line) and use some of the keywords to the batch routines, such as:
/NO_STATUS_WINDOW (suppress the status windows)
/NO_REALIZE (suppress the ABL when a file is returned)