Fix use after release bug.

We were writing to is_running_ after SelectFileDialogImpl was released
by FileSelectHelper:~FileSelectHelper().

Start using listener_ as a check to see whether SelectFileDialog is running.

BUG=342151
NOTRY=true

Review URL: https://codereview.chromium.org/184043028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254883 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 254883