$(document).ready(function(){

  $('#modality-code-select').change(function() {

    var selectedModal = $('#modality-code-select option:selected').text();

    if(selectedModal === "Death") {
      $('.hide-death').hide();
    } else {
      $('.hide-death').show();
    }

  });
});

$(document).ready(function(){
  $('#modality-description-select').change(function() {
    var selectedModal = $('#modality-description-select option:selected').text();

    if(selectedModal === "Death") {
      $('.hide-death').hide();
    } else {
      $('.hide-death').show();
    }
  });
});

Fix broken behaviour for Death modality
Fix broken behaviour for Death modality
