You can set preferences to specify which panels and inspectors always appear in front of the Document window, and which ones may be obscured by the Document window.
The Preferences dialog box appears.
For more information, see Setting Panels preferences.