Comment 8 for bug 1281058

lp:~robert-ancell/unity-greeter/shutdown-session-warning contains a proposed solution for this in the greeter. Screenshots to follow.