Fix text module accordion and tabbed views to be more intuitive about adding text items
(cherry picked from commit f3b4d67)