selected and disabled states for widgets