Adapt the added_dockable signal for ObjC/AppKit use. This allows us to prevent detaching widgets from an already-empty panel.