A method, apparatus, system, and signal-bearing medium that, in an
embodiment, receive a close command directed to a window, and determine
whether the close command was received within a close threshold time of
the display of the window. If the close command was received within the
threshold time, in various embodiments, a close dialog is displayed, the
window is faded, the window is shrunk, or a status message is displayed
indicating that the window is closing. If a cancel command is received
within a cancel-close threshold, the closing of the window is canceled.
If the number of times the cancel command has been received for the
window exceeds a cancel threshold, then in various embodiments, the close
threshold is increased, magnification is recommended, a sound option is
recommended, or speech recognition is recommended. In an embodiment, in
response to a close command directed to a window, a determination is made
whether the number of times the window has been resized is greater than a
resize threshold. If the window has been resized greater than the resize
threshold, in various embodiments, the cancel dialog is displayed, the
window is faded, the window is shrunk, or a status message is displayed
indicating that the window is closing. In another embodiment, if input to
a window has been received within an input threshold time since the
window was opened, then a confirmation message is displayed.