fixed some modals stuff