Final changes to CloudDialog.cpp