Added the ability to close the dialog box while watching CGAdded the ability to close the dialog box while watching CG