// hide the dialog -- we'll re-show it if the commit fails
SVNCommitDialog.this.setVisible(false);
// subscribe to process exit so we can record the
// exit code and manage the commit draft persistence
cp.addProcessExitHandler(new Handler()
{
@Override
public void onProcessExit(ProcessExitEvent event)
{
// save the exit code so we can use it to decide