title: Modifying template based on record saving
body: <p>I have a form and handle the submit code in my router. My template has this:</p>
  
  <pre><code>    {{#if isSaving}}
          Saving...
      {{else}}
      &lt;form&gt;
           inputs...
      &lt;/form&gt;
      {{/if}}
  </code></pre>
  
  <p>My code for saving within the router is this (ctrl is controller):</p>
  
  <pre><code>events: {
      saveCompany: function(record, ctrl){
          if (!record.get('isDirty')) return;
          ctrl.set('isSaving', true);
          record.one('didUpdate', this, function() {
              ctrl.set('isSaving', false);
          });
          record.get('transaction').commit();
      },
  </code></pre>
  
  <p>When user clicks submit, "Saving..." is properly shown and hidden when update is done. But I already handle didCreate, DidUpdate etc. in my model definition - by showing some popups, but I still want to be able to prevent the user from fiddling with my form while data is being saved, that's why I use "record.one(...)". What would be best way to do so in a more "generic" way than the way I did it? </p>