alert the user if no text was selected