See my answer to “A problem with migration from DialogButton.bind() method”. Trigger warning: it’s bad news, I’m afraid.