CNS-776: Error Message is shown when clicking on Cancel button