[kcm] Only enable revert action when revert sheet is open

Otherwise we trigger a revert when trying to close the window via Esc, which will crash

BUG: 449931
2 jobs for !83 with work/loader in 3 minutes and 33 seconds (queued for 1 minute and 22 seconds)
latest merge request