Working on close button

Doesn't currently work.