Added delegate methods when ever ALert is presented and dismissed