removed client side dialog since it's no longer used.