Open Create Issue Dialog

Hello,

I’m trying to open the create issue dialog from an already opened dialog so when i call the function AP.jira.openCreateIssueDialog when opening the custom dialog the jira create issue dialog is opened but when i call the same function after clicking on the submit button of the custom dialog the jira create issue dialog don’t open any ideas ? Thank you