Bug 1061690 - System dialogs are truncated if closed while the keyboard ...

...is being shown. r=alive