Adding event listener on an AJAX button
I'm not sure, based on your code, how you are adding buttons to your form(s)/pages, however, I would venture to guess the AJAX controlled buttons are not working because they are calling the built-in loading/submit callbacks within the Drupal 7 AJAX API (example.)

You may find the following example useful:

/**
* Implementation of hook_menu().
*/
function myModule_ajax_menu() {
  $items['get/ajax/Simple Drupal AJAX load with jQuery and delivery callback'] = array(
  'page callback' =&gt; 'myModule_ajax_get_ajax', // Render HTML
  'type' =&gt; MENU_CALLBACK,
  'page arguments' =&gt; array(2),
  'access arguments' =&gt; array('access content'),
  'delivery callback' =&gt; 'myModule_ajax_callback',  // Magic goes here
 );
 return $items;
}