Question: No, I didn't forget to run with(Maplets[Elements])

I have a problem in my document (MapletsDisplayError.mw) with the following four lines of code

with(Maplets[Elements]);
maplet3 := Maplet(MessageDialog(warning, "No file containing dissociation constants found.", 'onapprove' = Shutdown()));
with(Maplets[Elements]);
Maplets[Display](maplet3);

Attached are two documents.  The first contains just the lines above and works fine.  The second generates an error when run if you choose No to both dialogs, and the error appears to be with the same four lines of code (if I comment those lines I do not get an error).

ThisWorksWithoutError.mw

MapletsDisplayError.mw

Please Wait...