Added add alert if no text