* Show the file selection dialog, which is a blocking call until the user has made a choice.
* @param component The parent component.
*/
public void show(Component component) {
new NativeModalDialogHandler() {
@Override
protected void processResult(Object result) {
if(result == null) {
// In case of communication error or if the control is disposed, the whole result is null.
data.selectedFileNames = null;