made modals work