AJAX event fires when parent button is clicked