Let external components to modify the modal widget