some changes for modals