try dismiss modal before showing stripe (performance)