anchor.diff:          // delay one second to let the data saved if the user switch back and forth
           setTimeout(function() {
             updateForm();
  -          // release the form
  -          removeOverlay();
           }, 1000);
         }else if (!vis() && $("#autosave_cbx").prop("checked")){
           executeSave();
  
positive.code: <!-- <script type="text/javascript" src="/assets/response.js" ></script> -->
  <script>
    // todo: to be moved to assets, once it's fixed so that not every script is loaded in every page.
    //detect if the window is in foreground or background
  
negative.code:             default:
            }
          }
          // release the form
          removeOverlay();
        });
      }
  
  