SubmIt form can't be changed (easily) from all-LotusScript in order to accommodate a FileCloseWindow, anyway -- all its work is done in QueryClose, including locating the user's ID file, where possible, and attaching it to the email that it builds ... and sends.
I'll try what you suggest, and...