removing deprecated dialog