user can create lists using javascript, created message appears but closing button not yet functional