The file menu was enabled even when a browser window was obscured by a modal dialog.  This fix disables these menu items while the dialog window is up.
The file menu was enabled even when a browser window was obscured by a modal dialog.  This fix disables these menu items while the dialog window is up.

BUG= http://crbug.com/23864
TEST= Open the "open file" file chooser window with cmd-o (or from the menu). Attempt to open a new tab, window, or file. Note that you cannot. Close the file chooser window, and note that these menu items are now enabled again.

Review URL: http://codereview.chromium.org/269035

git-svn-id: http://src.chromium.org/svn/trunk/src@28836 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 64618578a8a544b9333750551ede0ee0ba5ba861
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser