added custom networks scan dialog, and persistant form