Right now, it's hard to tell that you need to add `action=""` to the button to keep it from closing the dialog.