wait for delete space dialog closed