LegacyUI: make file chooser dialogs support title
LegacyUI: make file chooser dialogs support title

This change has the side effect of making the default title for
directory choosers with the LegacyUI change from "Choose folder"
to "Choose a directory", but it will probably be OK.

imagej/imagej-legacy,imagej/imagej-legacy,imagej/imagej-legacy,imagej/imagej-legacy