How to get user actions like click "ok" or "cancel" button after authring the data in edit dialog. For OK i am using beforesubmit property of listeners , but i need user action on cancel also
I hope it helps you: http://dev.day.com/docs/en/cq/5-5/widgets-api/index.html
Try to use hide or even better close event.
Retrieving data ...