snsgui: use clear code for NewChannel dialog

简化下代码