Dialog is true but reading not true