updated alert for modal
modals updated to overwrite alert