dialog checking way through ok