Click inside to edit, outside to hide tools