FYI I changed the condition to convert to an early return to minimize the size of the changeset due to the indentation.
If the callback would implement the `nsIFilePickerShownCallback` interface, the condition could be untouched - just indentation change will occur.