this is used by the caller to specify whether standard dialog buttons are to be added.
Current GUI is gui.