Fixed Popup

Fixed popup problem, and created link to source code.