add disabled state to buttons