changed custom dialog