changed redirect dialogue