modified dialog