fmxpopup

How do I determine what buttons have been pressed when using fmxpopup in modal mode?  There are no on click events for the buttons....

Please use the OnHeaderButtonClick and/or OnFooterButtonClick events