use disabled attribute for buttons instead of class