Restructured some.

Added popup html instead of loading from start.