Fixed another bug where the user could cancel alert