17. A device for providing integrated user interface controls for web dialogs, the device comprising: a memory; a display device; a processor coupled to the memory and the display device, the processor executing a web application, wherein the web application is configured to: present through the display device a web page displaying a list of documents to a user from the web application; receive a user selection of a document from the list; present through the display device a dialog for performing tasks associated with the selected document within the web page, for enabling the user to view content, edit the content, create a new content, and to perform data mining, search, and analysis on the content, wherein the dialog is presented without a web page refresh such that contextual continuity is maintained between the dialog and the underlying list of documents; enable the user to transition between different states of the dialog associated with a category of tasks to be performed on the selected document, wherein a set of contextual controls are provided in each state of the dialog in a same style and position on each different state for performing one or more of: managing the selected document, editing an attribute of the selected document, editing a content of the selected document, or formatting the content of the selected document; detect a user selection of one of the contextual controls on the currently presented dialog for transitioning to a new state associated with the currently presented dialog; hide at least a portion of the currently presented dialog; and launch a new state in a new dialog over top of the hidden portion of the currently presented dialog, wherein the new state includes a tab for indicating which dialog state is presented, a header portion for indicating the web page and the selected document, and a different set of contextual controls displayed in association with the new state in a same style and position as the hidden dialog.
19. The device of claim 17 , wherein at least one state of the dialog includes form fields for enabling the user to one of insert or modify textual attributes and textual content associated with the selected document.