1. A system for conditionally refreshing workarea user interfaces (UIs), the system comprising: logic configured to receive a request to refresh one or more workarea UIs, wherein the one or more workarea UIs are provided within a document object model (DOM), and wherein the one or more workarea UIs each comprise a flag which indicates to either: always reload the DOM when refreshing the workarea UI indicating a page-oriented setup, or not reload the DOM when refreshing the workarea UI indicating a single-page setup; logic configured to determine, separately for each of the one or more workarea UIs based on each workarea UI's flag, whether to reload the DOM to refresh a corresponding workarea UI or to refresh the corresponding workarea UI within the DOM without reloading the DOM; logic configured to reload the DOM in response to a determination to reload the DOM; and logic configured to refresh the one or more workarea UIs without reloading the DOM in response to a determination to refresh the one or more workarea UIs, wherein the DOM is reloaded in response to navigating away from a workarea UI that has been flagged for consistently leaking memory.