AI-772 : Database is deleted when user clicks on No button in pop-up