I am opening one modal from another modal but my new modal is automatically adding style="display:none;" . I tried adding $("#modal2").removeAttr("s