hooks alert to make notifications instead of pop-ups