Added modal close on confirm for AJAX requests