The hidden lines of the background element are displayed as dashed lines.
The setting in the Foreground tab specifies whether you can select the foreground contour. If the Use Elements on Contour Layers only option is selected, only the objects on the contour layer (Contour layers are AM_0, AM_1, and AM_2) are considered.