payment success modal popping up correctly