AP.dialog 'submit' and 'cancel' events

I think you’ll be interested in A problem with migration from DialogButton.bind() method.