How to force quit non responsive wifi dialog
This applescript works for me using the latest version of Sierra

You can paste this code into ScriptEditor app and save it as an application.  Then run your new app anytime you need it

do shell script "killall SystemUIServer"