dialog for host adding
minor fr fix
fix a index bug on refresh
more checking on url validity
edit host fixed now
refractor remove function