add verification before the publish action can fire, and error message if no text has been added