retract when clicking on docs name