Save changes before moving requests to the backend since the AJAX POST does not work right