now properly shows close button when restored from a book mark.