makes the "do you want to accept this cookie?" dialog more user-friendly, by not touching the permission list if you dismiss the dialog without clicking a button. patch by mvl, r=neil, sr=jag, a=asa. git-svn-id: svn://10.0.0.236/trunk@142735 18797224-902f-48f8-a5cc-f745e15eee43