updates for modals