Waits for the ISynchronizedOperation to finish.
Returns a DialogResultCode for the ISynchronizedOperation.