fix double posting via AJAX in admin