[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
Edited by Nicolas Fella
Otherwise we trigger a revert when trying to close the window via Esc, which will crash