var modal = $('#modal1'); modal.find('.modal-dialog').addClass('modal-lg linked-products__modal-dialog'); modal.find('.modal-header').html('