@mstaas posted a workaround in ACJS-253 whereby you create a chromeless dialog so that the dialog doesn’t include the cancel button.
AP.dialog.create({ "size": "medium", "chrome": false, "header": "header" });