wait for ajax requests to complete on making a unit private or edit draf...

...t