Move paragraphs delete action into its own method