modals now appear but contain no form elements