css and popups updates and code formadding