Modify GUI export dialog to support both export modes.