Currently, it is not possible to operate dialogs that pop up further sub-dialogs, for example when a button is pressed. All <click>, <center>, <type>, or <press> elements have to be nested in the one top-level <dialog> element and will only apply to that element.
Ideally, it should be possible to write something like:
<?xml version="1.0"?>
<escript>
<wizard id="org.eclipse.pde.ui.NewSchemaFileWizard">
<dialog title="New Extension Point Schema File">
<click button="Browse...">
<!-- when the "Browse..." button is pressed -->
<!-- a new separate dialog will pop up: -->
<dialog title="Plug-In Selection">
<click button="OK"/>
</dialog>
</click>
</dialog>
</wizard>
</escript>
For escripts to be able to automatically operate realistic sequences of dialogs a nesting feature is absolutely necessary.