Perform same change to modal.php