add vlan dialog

Ah, it returns that value. And other similar methods even document it. Please add such a comment too.