Adding hooks for buttons of entries