[OE-4734] Don't display any buttons for cancelled or completed operations.

This should really be handled by RBAC, but currently the admin user
bypasses event locking checks.