allow to use connectOutlet with modals