That's the result of blind copy-pasting of handling of the Help button - it has the same bug.