FileDialog

fun FileDialog(    mode: FileDialogMode,     title: String = "",     initialFileName: String = "",     initialDirectory: File? = null,     extensionFilters: List<ExtensionFilter> = emptyList())

Creates a FileDialog with given FileDialogMode.