Joy of returning values from event handlers.
A better way to disable viewer and editor.