Replaced alerts and prompts with their alertify versions.