Write the .cloud-sync.json file on Apply.
Show a "synchronize..." option on directories.