Added a close button to the add new popup . Put in some useful comments in the popup constructor.