function LayersShowPropertiesDialog(LayerIdx: integer = LYR_SELECTED_LAYERS): Boolean;
Description
Display the Layer Properties dialog for a layer, which allows the user to modify the style and other settings.
Result is true, unless the user cancels out of the dialog.
If LayerIdx is LYR_SELECTED_LAYERS, then the current layer is edited.