Added scope digest after clicking close button