Add and remove hooks through the UI