make autotoc pattern modal aware
make autotoc pattern modal aware

termitnjak/mockup,derFreitag/mockup,termitnjak/mockup,plone/mockup,domruf/mockup,termitnjak/mockup,termitnjak/mockup,derFreitag/mockup,domruf/mockup,derFreitag/mockup,plone/mockup,plone/mockup,domruf/mockup,derFreitag/mockup,domruf/mockup