improved library popup