This fix fixes a regression introduced in an earlier commit. Now, isInitRun is always set false on user involvement. This prevents the completion modal from poping up during challenges that have preview windows.
This is the entry point for the client code Code that should only run on the client should be put here.
NOTE(berks): For react specific stuff this should be the entry point