Create a layer and prompt the user to specify its properties. If the user cancels out, the layer is removed.
If PromptForImage is enabled and LayerKind=ielkImage, then the user is prompted to browse for an image file to load. InsertPos specifies the index of the new layer.