Added a save method to perform an AJAX post