Auto-reveal open file now works with hidden file browser

When the file browser is hidden we no longer auto-reveal. When the user shows the file browser, we select the currently open document.