Is there a way to destroyDialog when does another scene open?
Search the maxscript help file for #filePostOpen callbacks.
Thanks, it helped