by calling template::form::get_button, I can identify which button was pressed.
Not sure if that's the best way, but just using that for now inside of ad_form