Bug 973466 - [settings] refactor wifi panel with AMD pattern

This patch is still under WIP.
Could we do an early return if `dialogID` does not equal `wifi-status`?