updated modals callback