We shouldn't grab the mouse or keyboard unless there's really a need to restrict all input to our application. Window managers tend to use grabs for various things and this breaks those (alt-tab being one of them).