remove text and alert after send