When I try to close my Google docs tab with unsaved changes, this is what I get in my browser (FF 3.5).
Are you sure you want to navigate away from
The alerts are part of the web application. View the source code and look at the javascript.