Fully replicate the result modal from the internal version

I am not a fan of some parts of this but I kept it as close to the original structure of the Varify code for the sake of time. We can improve in the future but it all seems to be working for now.