Deselect parents properly when clicking 'close'. Added logging wishlist to TODO.