OpenResourceDialog should work when there are no open tabs in scripts panel.
Created attachment 123721 [details] Patch
Committed r105747: <http://trac.webkit.org/changeset/105747>