added text edit mode to targets