Methods, systems, and computer program products provide intelligent user
interfaces based on a context or mode of a document. A method involves
opening the document in a context that only facilitates reading,
disabling editing commands associated with the document and/or disabling
typing functionality for editing the document, and displaying a
transition button via the intelligent user interface. The transition
button is operative, when selected, to initiate transition of the
document between the context that only facilitates reading and a context
that facilitates editing. The method also involves receiving a selection
of the transition button, in response to receiving the selection and
transitioning from the context that only facilitates reading to the
context that facilitates editing. Transitioning to the editing context
includes enabling the editing commands and typing functionality. The
method may also involve transitioning from the context that facilitates
editing back to the context that only facilitates reading.