AJ2.dialog2 hide() not working

Hi, we have a Jira issue panel which we have a AJS2.Dialog si if we press a button it shows. If we press cancel it call a AJS.dialog2(“mydialogid”).hide() and it works fine, but if we press the cancel button and edit the issue when we open again the dialog the cancel did not work and still showing

Hey @FranciscoGomezBalast,

Are you able to create a small example plugin and put it on Github or Bitbucket Cloud so we can reproduce this?