A FileSelectionDialog should be used to enter the name of a file for processing. It should not interrupt the user's interaction with the application. It should include a FileSelectionBox.
For more information, see the reference page for DialogBox.