buttons are now disabled when appropriate