[[ Bug 12329 ]] Make sure we can enable/disable menu items when a modal ...

...dialog is displayed.