Fix Layers & Objects context menu when the dialog is floating

Ensure that the custom context menu in the Layers & Objects dialog is displayed even when the dialog is floating.

Fixes #5660 (closed)

Merge request reports

Loading