Moved skeleton of popup to html