One example of this is the when you save a Template Modification. Here, when you save, the button disables, just prior to taking you back to the Template Modification list.
It also happens when submitting things such as posts.
How is this determined? (Maybe it's just a browser response?)