Disable/Enable buttons when appropriate.
requested review from @t24chan
assigned to @sw4wang
main
dev/sprint3
changed target branch from main to dev/sprint3
mentioned in commit 7a22c4ec
merged