modified the modal