On my ASP.NET page, there is a button that when clicked opens a modal dialog box through JavaScript. I need to determine how to proceed or cancel the post back based on the value returned by the modal dialog box. Can anyone provide guidance on how to achieve this?