Removed unused function (DisplayFormatDialog).