shell: Correctly use the 'disabled' property to disable buttons.

And not 'disable', which has no effect.

Fixes #922