change registration dialog respone error detection