It would be nice to have another button "Preview Query" next to "Help", "Cancel" and "Save".
This button should become the default-button (instead of "Save") to avoid accidental changes.
When pressed, the query could get displayed in the output pane.