* fixed bug #5320 (Hitting close button in mailclient different from hitting esc)