Don’t display syncing progress dialog if there are no layers to sync.  Also, in Project sync, execute the success callback even if there are no layers to sync