modals now support external registration