Fix dialog usage for object plugins