made modals accessable by just adding a class